package com.xjrsoft.module.customerTwo.EMP.t_water_meter.service.impl;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.xjrsoft.core.tool.utils.StringUtil;
import com.xjrsoft.module.customerTwo.EMP.t_water_meter.entity.TWaterMeter;
import com.xjrsoft.module.customerTwo.EMP.t_water_meter.dto.TWaterMeterListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.ConventPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import java.util.Map;

import com.xjrsoft.module.customerTwo.EMP.t_water_meter.mapper.TWaterMeterMapper;
import com.xjrsoft.module.customerTwo.EMP.t_water_meter.service.ITWaterMeterService;
import com.xjrsoft.core.mp.base.BaseService;
import com.xjrsoft.core.tool.utils.Func;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 *  服务实现类
 *
 * @author dongxinhang
 * @since 2023-08-02
 */
@Service
@AllArgsConstructor
public class TWaterMeterServiceImpl extends BaseService<TWaterMeterMapper, TWaterMeter> implements ITWaterMeterService {

    @Override
    public int updateOrInsertBatch(List<TWaterMeter> list) {
        return this.getBaseMapper().updateOrInsertBatch(list);
    }

    @Override
    public int alterAutoIncrement() {
        return this.getBaseMapper().alterAutoIncrement();
    }

    @Override
    public List<Map> getWaringData() {
        return this.getBaseMapper().getWaringData();
    }
}